package icu.sehnen.qiniu.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Qiniu {
    @Value("${qiniu.access_key}")
    private   String accessKey ;
    @Value("${qiniu.secret_key}")
    private String secretKey ;
    @Value("${qiniu.host}")
    private String host;
    @Value("${qiniu.bucketname}")
    private  String bucket;
    private Long id;
}